NevronOpenVision
Nevron.Nov Namespace / NPromise<TResult> Class / ThenPromise Method / ThenPromise<TPromiseResult>() Method
In This Topic
    ThenPromise<TPromiseResult>() Method
    In This Topic
    Adds succeeded and failed handlers for this promise and returns a new promise, which is fulfilled when this promise is fulfilled. The TResult result of this promise is cast to the TPromiseResult in the resulting promise.
    Syntax

    Type Parameters

    TPromiseResult
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also